package cn.source.flowable.domain;

import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程分类对象 wf_category
 *
 * @author 詹Sir
 * @date 2022-10-31
 */
public class WfCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 流程分类id
     */
    private Long categoryId;

    /**
     * 流程分类名称
     */
    @Excel(name = "流程分类名称")
    private String categoryName;

    /**
     * 分类编码
     */
    @Excel(name = "分类编码")
    private String code;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("categoryId" , getCategoryId())
                .append("categoryName" , getCategoryName())
                .append("code" , getCode())
                .append("remark" , getRemark())
                .append("createBy" , getCreateBy())
                .append("createTime" , getCreateTime())
                .append("updateBy" , getUpdateBy())
                .append("updateTime" , getUpdateTime())
                .append("delFlag" , getDelFlag())
                .toString();
    }
}
